<template>
    <div>
        <van-nav-bar title="购物车" left-text="返回" left-arrow @click-left="($router.go('-1'))" />
        <van-swipe-cell>
            <van-card num="2" price="2.00" desc="描述信息" title="商品标题"
                thumb="https://fastly.jsdelivr.net/npm/@vant/assets/ipad.jpeg" >
                 
            </van-card>
             <template #num>
               <van-stepper v-model="value" theme="round" button-size="22" disable-input />
            </template>

            <template #right>
                <van-button square text="删除" type="danger" class="delete-button" />
            </template>
        </van-swipe-cell>
        <van-submit-bar :price="3050" button-text="提交订单" @submit="onSubmit">
            <van-checkbox v-model="checked">全选</van-checkbox>
            <template #tip>
                你的收货地址不支持配送, <span @click="onClickLink">修改地址</span>
            </template>
        </van-submit-bar>

    </div>
</template>

<script setup>
import router from '@/router';
import { ref } from 'vue';
const onSubmit=()=>{
    router.push('/order')
}


</script>

<style lang="scss" scoped></style>